<?php

namespace app\validate;

use think\Validate;

class WarehouseValidate extends Validate
{
    protected $rule = [
        'id' => 'require',
    ];


    protected $message = [
        'id' => '订单ID不能为空',
    ];


    protected $scene = [
        'orderInfo' => ['id'],
        'receivedMaterials' => ['id'],
        'productionCompletedInbound' => ['id'],
    ];
}